<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>javascript放大镜效果-橡树小屋</title>
<script language="javascript" src="lens.js"></script>
<link href="lens.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
window.onload=function(){
 zoom({width:300,height:300});
}
</script>
</head>

<body>
<div style="position:absolute;border:5px solid #c0c0c0;left:400px;">
<img src="1.jpg" class="zoom" big="1.jpg" />
</div>
</body>
</html>

